package com.lightjet.macross.base.upms;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author : lijia
 * @version : 1.0 2019-10-26 13:18
 * description : 通用用户权限管理模块
 */
@SpringBootApplication(scanBasePackages={"com.lightjet.macross.base.feign.api","com.lightjet.macross.base.upms","com.lightjet.macross.common"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.lightjet.macross.base.feign.api","com.lightjet.macross.base.upms.service"})
@EnableHystrix
@EnableSwagger2
@EnableCaching
public class BaseUPMSApplication {
    public static void main(String[] args)
    {
        SpringApplication.run(BaseUPMSApplication.class,args);
    }
}
